USE [BillManage]
GO

SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [dbo].[Sys_BillNo](
	[FBillType] [varchar](50) NOT NULL,
	[FDate] [date] NOT NULL,
	[FCode] [int] NOT NULL
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO

ALTER TABLE [dbo].[Sys_BillNo] ADD  CONSTRAINT [DF_Sys_BillNo_FDate]  DEFAULT (getdate()) FOR [FDate]
GO

ALTER TABLE [dbo].[Sys_BillNo] ADD  CONSTRAINT [DF_Sys_BillNo_FCode]  DEFAULT ((0)) FOR [FCode]
GO

